package com.smiier.skin.net;

import java.util.ArrayList;

import android.content.Context;
import cn.o.app.io.INoProguard;
import cn.o.app.net.NetTask;

import com.smiier.skin.constant.Constant;
import com.smiier.skin.net.DoctorPathogenesisGetListTask.DoctorPathogenesisGetListRequest;
import com.smiier.skin.net.DoctorPathogenesisGetListTask.DoctorPathogenesisGetListResponse;
import com.smiier.skin.net.entity.Pathogenesis;
import com.smiier.skin.util.GlobalSettings;

public class DoctorPathogenesisGetListTask
		extends
		NetTask<DoctorPathogenesisGetListRequest, DoctorPathogenesisGetListResponse> {

	public static class DoctorPathogenesisGetListRequest extends ORequest {
		public int patient_uid;
		public Long startid;
		public Integer pagesize;
		public String appname = Constant.APP_NAME;
	}

	public static class DoctorPathogenesisGetListResponse extends OResponse {
		public DoctorPathogenesisGetListRes Res;
	}

	public static class DoctorPathogenesisGetListRes implements INoProguard {
		public int Count;
		public ArrayList<Pathogenesis> Pathogenesis;
	}

	@Override
	public void setContext(Context context) {
		super.setContext(context);
		mUrl = GlobalSettings.SERVER_URL + GlobalSettings.SERVER_URL_JOIN
				+ "?api=Doctor.Pathogenesis.GetList";
		mRequestMethod = METHOD_GET;
	}
}
